<%= simple_form_for([:cpanel,@section]) do |f| %>
  <%= render 'shared/error_messages', target: @section %>
  <fieldset>
    <legend></legend>
    <%= f.input :name %>
    <%= f.input :sort %>
    <div class="form-actions">
      <%= f.submit t("common.save"), class: "btn btn-primary", 'data-disable-with' => t("common.saving") %>
      <%= link_to 'Back', cpanel_sections_path %>
    </div>
  </fieldset>
<% end %>
